]> dgit.raspbian.org Git - gnome-shell.git/commit
data: ensure systemd environment is sanitized when shell exits
authorRay Strode <rstrode@redhat.com>
Wed, 25 Mar 2020 20:30:46 +0000 (16:30 -0400)
committerFlorian Müllner <florian.muellner@gmail.com>
Wed, 25 Mar 2020 21:34:47 +0000 (21:34 +0000)
commit2ef71b62dfe426a1ae2fe185dfb06b27238b06c7
tree555a1b07c4876aa3f50036cd6feb837db554bdb7
parent766288eec1bd3bd50dfc4ddf410c2b507187e603
data: ensure systemd environment is sanitized when shell exits

When mutter is acting as a display server it sets a number of
environment variables in the user's session. These variables
tell applications where the display server's sockets are.

When the shell exits at logout time it leaves these environment
variables in the systemd --user environment, which can confuse
subsequent sessions.

This commit clears up the environment on exit.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1129
data/gnome-shell-wayland.service.in